// import { Login, } from '../pages/index'
import AsyncComponent from '../utils/AsyncComponent'

const Login = AsyncComponent(import('../pages/login'))
const Register = AsyncComponent(import('../pages/register'))
const Home = AsyncComponent(import('../pages/home'))

export const routes = [
	{
		path: '/login',
		component: Login
	},
	{
		path: '/register',
		component: Register
	},
	{
		path: '/home',
		component: Home
	}
]
